package cn.cs.service;


import cn.cs.common.Page;
import cn.cs.pojo.ExpensesExplain;

import java.util.List;
import java.util.Map;

public interface ExpensesExplainService {

    public ExpensesExplain getExpensesExplainById(String id) throws Exception;

    public List<ExpensesExplain> getExpensesExplainListByMap(Map<String, Object> param) throws Exception;

    public Integer getExpensesExplainCountByMap(Map<String, Object> param) throws Exception;

    public Integer addExpensesExplain(ExpensesExplain expensesExplain) throws Exception;

    public Integer modifyExpensesExplain(ExpensesExplain expensesExplain) throws Exception;

    public Integer deleteExpensesExplainById(String id) throws Exception;

    public Page<ExpensesExplain> queryExpensesExplainPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;

    public Map<String, Object> getAreaById(String id) throws Exception;

    public Map<String, Object> getFaultTypeById(String id) throws Exception;
}
